<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class SAdviceInfo extends Model
{
    use SoftDeletes;
    public $table = "s_advice_info";

    protected $fillable = [
        'user_id', 'content', 'images', 'created_at', 'updated_at'
    ];

    public function users()
    {
        return $this->belongsTo('App\User', 'user_id');
    }

}
